首页> 外文OA文献 >Alternation in Quantum Programming: From Superposition of Data to Superposition of Programs
【2h】

Alternation in Quantum Programming: From Superposition of Data to Superposition of Programs

机译:量子规划的交替:从数据叠加到数据   程序的叠加

摘要

We extract a novel quantum programming paradigm - superposition of programs -from the design idea of a popular class of quantum algorithms, namely quantumwalk-based algorithms. The generality of this paradigm is guaranteed by theuniversality of quantum walks as a computational model. A new quantumprogramming language QGCL is then proposed to support the paradigm ofsuperposition of programs. This language can be seen as a quantum extension ofDijkstra's GCL (Guarded Command Language). Surprisingly, alternation in GCLsplits into two different notions in the quantum setting: classical alternation(of quantum programs) and quantum alternation, with the latter being introducedin QGCL for the first time. Quantum alternation is the key program constructfor realizing the paradigm of superposition of programs. The denotational semantics of QGCL are defined by introducing a newmathematical tool called the guarded composition of operator-valued functions.Then the weakest precondition semantics of QGCL can straightforwardly derived.Another very useful program construct in realizing the quantum programmingparadigm of superposition of programs, called quantum choice, can be easilydefined in terms of quantum alternation. The relation between quantum choicesand probabilistic choices is clarified through defining the notion of localvariables. We derive a family of algebraic laws for QGCL programs that can beused in program verification, transformations and compilation. The expressivepower of QGCL is illustrated by several examples where various variants andgeneralizations of quantum walks are conveniently expressed using quantumalternation and quantum choice. We believe that quantum programming withquantum alternation and choice will play an important role in furtherexploiting the power of quantum computing.
机译:我们从一类流行的量子算法(即基于量子行走的算法)的设计思想中提取出一种新颖的量子编程范例-程序叠加。量子游走作为计算模型的普遍性保证了这种范例的普遍性。然后提出了一种新的量子编程语言QGCL,以支持程序叠加的范式。这种语言可以看作是Dijkstra的GCL(守卫命令语言)的量子扩展。出乎意料的是,GCL中的交替在量子环境中分为两个不同的概念:经典交替(量子程序)和量子交替,后者是首次在QGCL中引入。量子交替是实现程序叠加范式的关键程序构造。 QGCL的指称语义是通过引入一种新的数学工具来定义的,该工具称为运算符值函数的保护组合,然后可以直接导出QGCL的最弱先决条件语义。选择,可以很容易地根据量子交替定义。量子选择和概率选择之间的关系通过定义局部变量的概念得以阐明。我们为QGCL程序推导了一系列代数定律,这些定律可用于程序验证,转换和编译。 QGCL的表达能力通过几个例子来说明,其中量子步态的各种变体和一般化可以使用量子交替和量子选择方便地表达。我们相信具有量子交替和选择能力的量子编程将在进一步开发量子计算能力方面发挥重要作用。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号